/*************************************************************************
> File Name: main.cc
> Author: icebear
> Mail: 3322366195@qq.com
> Created Time: 2024-10-12 23:25:13
> Description: main函数
************************************************************************/

#include <iostream>
#include <unistd.h>

int initApp();
int runApp(int argc, char *argv[]);
int main(int argc, char *argv[])
{
    if (initApp() < 0)
    {
        std::cout << "initApp failed" << std::endl;
        return -1;
    }
    if (runApp(argc, argv) < 0)
    {
        std::cout << "runApp failed" << std::endl;
        return -1;
    }
    pause();
}
